:root {
  --dark-mode-toggle-light-icon: url("/_lib_/dark-mode-toggle/sun.png");
  --dark-mode-toggle-dark-icon: url("/_lib_/dark-mode-toggle/moon.png");
  --dark-mode-toggle-remember-icon-unchecked: url("/_lib_/dark-mode-toggle/unchecked.svg");
  --dark-mode-toggle-remember-icon-checked: url("/_lib_/dark-mode-toggle/checked.svg");
  --background-color: white;
  --text-color: rgb(15, 15, 15);
  --inverted-text-color: white;
  --readonly-bg-color: #026DC5;
}

html {
  font-size: 30px;
  color: var(--text-color);
  background-color: var(--background-color);
  font-family: sans-serif;
}

section {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
  justify-content: center;
}

input,
button,
textarea,
small {
  font-size: .83rem;
}

input {
  padding: 0.0625rem .125rem
}

button,
input[type=reset] {
  padding: 0.0625rem .375rem
}

#multithreads-attention {
  display: block;
  padding-left: 1rem;
  font-size: 0.8rem;
}

input[type=range],
input[type=checkbox] {
  transform: scale(1.6);
}

input[type=range] {
  margin: 0 1.4rem;
}

#file-uploader {
  outline: dashed 1px rgba(118, 118, 118, .5);
}
#file-uploader:focus {
  outline: solid;
}
dirent-list {
  position: absolute;
  border-radius: 3px;
  box-shadow: 0 0 2px var(--text-color);
  background-color: var(--background-color);
  z-index: 99;
  font-size: .45rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

dirent-list > option {
  font-weight: normal;
  white-space: nowrap;
  min-height: 1.2em;
  padding: .5rem .4rem;
  cursor: default;
  color: var(--text-color);
  background-color: var(--background-color);
}

dirent-list > option > * {
  display: inline-block;
  height: 1em;
}

dirent-list > option::before {
  width: 1.5em;
  height: .8rem;
  display: inline-block;
  padding: .2rem .25rem 0 0;
  vertical-align: middle;
  position: relative;
  top: -.1rem;
}

dirent-list > option[type="folder"]::before {
  content: url("/_lib_/www/icons/default_folder_opened.svg");
}

dirent-list > option[type="file"]::before {
  content: url("/_lib_/www/icons/default_file.svg");
}

dirent-list > option:hover, dirent-list > option.active {
  background-color: var(--text-color);
  color: var(--background-color);
}

dirent-list[folder-only] > option[type="file"] {
  display: none;
}

dirent-list[reverse] {
  display: flex;
  flex-direction: column-reverse;
}

dirent-list[hidden] {
  display: none !important;
}
